@model ExpertSMS.Models.StoreProductStock

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>StoreProductStock</legend>

    <div class="display-label">OriginalQuantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.OriginalQuantity)</div>

    <div class="display-label">CurrentQuantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.CurrentQuantity)</div>

    <div class="display-label">Date</div>
    <div class="display-field">@String.Format("{0:g}", Model.Date)</div>

    <div class="display-label">Unit</div>
    <div class="display-field">@(Model.Unit == null ? "None" : Model.Unit.Name)</div>

    <div class="display-label">Store</div>
    <div class="display-field">@(Model.Store == null ? "None" : Model.Store.Name)</div>

    <div class="display-label">Product</div>
    <div class="display-field">@(Model.Product == null ? "None" : Model.Product.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.StoreProductStockID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


